using KL.Core.Common.infrastructure;

namespace KL.Core.Common.MyOptions;
/// <summary>
/// MinIO配置项
/// </summary>
public class MinIOOptions: IConfigurableOptions
{
    /// <summary>
    /// 是否启用
    /// </summary>
    public bool Enabled { get; set; }
    /// <summary>
    /// MinIO 链接
    /// </summary>
    public MinIOConnection Connection { get; set; }
}
/// <summary>
/// MinIO 链接
/// </summary>
public class MinIOConnection
{
    /// <summary>
    /// IP
    /// </summary>
    public string IP { get; set; }
    /// <summary>
    /// 端口
    /// </summary>
    public int PORT { get; set; }
    /// <summary>
    /// 账号
    /// </summary>
    public string USERID { get; set; }
    /// <summary>
    /// 密码
    /// </summary>
    public string PWD { get; set; }
}